package exception;

public class BadNodeReachedException extends Exception{

	private static final long serialVersionUID = 1L;

	private String message;
	public BadNodeReachedException(){
		message = "Bad Node Reached !";
	}
	
	public BadNodeReachedException(String msg){
		message = msg;
	}
	public String message(){
		return message ;
	}

}
